<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>HexFiend: HFTextView.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">HexFiend
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">HFTextView.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_h_f_text_view_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  HFTextView.h</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  HexFiend_2</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Copyright 2009 ridiculous_fish. All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#import &lt;Cocoa/Cocoa.h&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#import &lt;HexFiend/HFController.h&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">@class</span> <a class="code" href="interface_h_f_layout_representer.html">HFLayoutRepresenter</a>;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="interface_h_f_text_view.html">   18</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_h_f_text_view.html">HFTextView</a> : NSControl {</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <a class="code" href="interface_h_f_controller.html">HFController</a> *dataController;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <a class="code" href="interface_h_f_layout_representer.html">HFLayoutRepresenter</a> *<a class="code" href="interface_h_f_text_view.html#a1844eea104774e5f1840b7d663345b58">layoutRepresenter</a>;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    BOOL <a class="code" href="interface_h_f_text_view.html#a0cb285a81aa81b206b05ba8d3264ff28">bordered</a>;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    IBOutlet <span class="keywordtype">id</span> <a class="code" href="interface_h_f_text_view.html#a08baf8fb71edae71ab86675e5cef3173">delegate</a>;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    NSData *cachedData;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;}</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="interface_h_f_text_view.html#a9d04a8ac893159d65498c1c0b0533d31">   25</a></span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="interface_h_f_text_view.html#aea80bb47bbffaa395493c5237db4b578">   31</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_h_f_controller.html">HFController</a> *<a class="code" href="interface_h_f_text_view.html#a9d04a8ac893159d65498c1c0b0533d31">controller</a>;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_h_f_layout_representer.html">HFLayoutRepresenter</a> *<a class="code" href="interface_h_f_text_view.html#a1844eea104774e5f1840b7d663345b58">layoutRepresenter</a>;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_h_f_byte_array.html">HFByteArray</a> *<a class="code" href="interface_h_f_text_view.html#aea80bb47bbffaa395493c5237db4b578">byteArray</a>;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">@property</span> (nonatomic, copy) NSArray *<a class="code" href="interface_h_f_text_view.html#ae72dcd17255a7ea08d9afac1ef7ac011">backgroundColors</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="interface_h_f_text_view.html#a08baf8fb71edae71ab86675e5cef3173">   48</a></span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">@property</span> (nonatomic) BOOL <a class="code" href="interface_h_f_text_view.html#a0cb285a81aa81b206b05ba8d3264ff28">bordered</a>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">@property</span> (nonatomic, assign) <span class="keywordtype">id</span> <a class="code" href="interface_h_f_text_view.html#a08baf8fb71edae71ab86675e5cef3173">delegate</a>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">@property</span> (nonatomic, copy) NSData *<a class="code" href="interface_h_f_text_view.html#a546bfc05654c23960a5b5ded1e35d447">data</a>;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="protocol_h_f_text_view_delegate_01-p.html">   64</a></span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keyword">@end</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">@protocol </span><a class="code" href="protocol_h_f_text_view_delegate-p.html">HFTextViewDelegate</a> &lt;NSObject&gt;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;- (void)hexTextView:(<a class="code" href="interface_h_f_text_view.html">HFTextView</a> *)view didChangeProperties:(<a class="code" href="_h_f_controller_8h.html#adfb5b0d9c70a4b65379361b34ba1aea5">HFControllerPropertyBits</a>)properties;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">@end</span></div><div class="ttc" id="protocol_h_f_text_view_delegate-p_html"><div class="ttname"><a href="protocol_h_f_text_view_delegate-p.html">HFTextViewDelegate-p</a></div><div class="ttdoc">Delegate methods for HFTextView. </div></div>
<div class="ttc" id="interface_h_f_text_view_html_a9d04a8ac893159d65498c1c0b0533d31"><div class="ttname"><a href="interface_h_f_text_view.html#a9d04a8ac893159d65498c1c0b0533d31">HFTextView::controller</a></div><div class="ttdeci">HFController * controller</div><div class="ttdoc">The HFController for the receiver. Useful for adding or removing HFRepresenters from the text view at...</div><div class="ttdef"><b>Definition:</b> HFTextView.h:25</div></div>
<div class="ttc" id="interface_h_f_text_view_html_ae72dcd17255a7ea08d9afac1ef7ac011"><div class="ttname"><a href="interface_h_f_text_view.html#ae72dcd17255a7ea08d9afac1ef7ac011">HFTextView::backgroundColors</a></div><div class="ttdeci">NSArray * backgroundColors</div><div class="ttdoc">The array of background colors for the receiver. </div><div class="ttdef"><b>Definition:</b> HFTextView.h:41</div></div>
<div class="ttc" id="interface_h_f_controller_html"><div class="ttname"><a href="interface_h_f_controller.html">HFController</a></div><div class="ttdoc">A central class that acts as the controller layer for HexFiend.framework. </div><div class="ttdef"><b>Definition:</b> HFController.h:97</div></div>
<div class="ttc" id="interface_h_f_text_view_html_a0cb285a81aa81b206b05ba8d3264ff28"><div class="ttname"><a href="interface_h_f_text_view.html#a0cb285a81aa81b206b05ba8d3264ff28">HFTextView::bordered</a></div><div class="ttdeci">BOOL bordered</div><div class="ttdoc">Whether the receiver draws a border. </div><div class="ttdef"><b>Definition:</b> HFTextView.h:44</div></div>
<div class="ttc" id="interface_h_f_text_view_html_a546bfc05654c23960a5b5ded1e35d447"><div class="ttname"><a href="interface_h_f_text_view.html#a546bfc05654c23960a5b5ded1e35d447">HFTextView::data</a></div><div class="ttdeci">NSData * data</div><div class="ttdef"><b>Definition:</b> HFTextView.h:56</div></div>
<div class="ttc" id="interface_h_f_layout_representer_html"><div class="ttname"><a href="interface_h_f_layout_representer.html">HFLayoutRepresenter</a></div><div class="ttdoc">An HFRepresenter responsible for arranging the views of other HFRepresenters attached to the same HFC...</div><div class="ttdef"><b>Definition:</b> HFLayoutRepresenter.h:41</div></div>
<div class="ttc" id="_h_f_controller_8h_html_adfb5b0d9c70a4b65379361b34ba1aea5"><div class="ttname"><a href="_h_f_controller_8h.html#adfb5b0d9c70a4b65379361b34ba1aea5">HFControllerPropertyBits</a></div><div class="ttdeci">HFControllerPropertyBits</div><div class="ttdef"><b>Definition:</b> HFController.h:21</div></div>
<div class="ttc" id="interface_h_f_byte_array_html"><div class="ttname"><a href="interface_h_f_byte_array.html">HFByteArray</a></div><div class="ttdoc">The principal Model class for HexFiend&amp;#39;s MVC architecture. </div><div class="ttdef"><b>Definition:</b> HFByteArray.h:36</div></div>
<div class="ttc" id="interface_h_f_text_view_html"><div class="ttname"><a href="interface_h_f_text_view.html">HFTextView</a></div><div class="ttdoc">A high-level view class analagous to NSTextView. </div><div class="ttdef"><b>Definition:</b> HFTextView.h:18</div></div>
<div class="ttc" id="interface_h_f_text_view_html_a1844eea104774e5f1840b7d663345b58"><div class="ttname"><a href="interface_h_f_text_view.html#a1844eea104774e5f1840b7d663345b58">HFTextView::layoutRepresenter</a></div><div class="ttdeci">HFLayoutRepresenter * layoutRepresenter</div><div class="ttdoc">The HFLayoutRepresenter for the receiver. An HFTextView comes with its own HFLayoutRepresenter, but you can replace it. </div><div class="ttdef"><b>Definition:</b> HFTextView.h:28</div></div>
<div class="ttc" id="interface_h_f_text_view_html_aea80bb47bbffaa395493c5237db4b578"><div class="ttname"><a href="interface_h_f_text_view.html#aea80bb47bbffaa395493c5237db4b578">HFTextView::byteArray</a></div><div class="ttdeci">HFByteArray * byteArray</div><div class="ttdoc">Returns the HFByteArray for the receiver. This is equivalent to [[self controller] byteArray]...</div><div class="ttdef"><b>Definition:</b> HFTextView.h:31</div></div>
<div class="ttc" id="interface_h_f_text_view_html_a08baf8fb71edae71ab86675e5cef3173"><div class="ttname"><a href="interface_h_f_text_view.html#a08baf8fb71edae71ab86675e5cef3173">HFTextView::delegate</a></div><div class="ttdeci">id delegate</div><div class="ttdoc">The delegate, which may implement the methods in HFTextViewDelegate. Initially nil. </div><div class="ttdef"><b>Definition:</b> HFTextView.h:48</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
